<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/5/7
  Time: 13:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Add</title>
    <meta charset="UTF-8">
    <style>
        form table tr td{
            text-align: center;
        }
        input[type="file"]{
            max-width: 167px;
        }
    </style>
</head>
<body>
<form action="user?method=add" method="post" enctype="multipart/form-data">
    <table>
        <tr>
            <td>用&nbsp;户&nbsp;名:</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
            <td><input type="text" name="password"></td>
        </tr>
        <tr>
            <td>真实姓名:</td>
            <td><input type="text" name="realname"></td>
        </tr>
        <tr>
            <td>头&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;像:</td>
            <td><input type="file" name="img"></td>
        </tr>
        <tr>
            <td>邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱:</td>
            <td><input type="email" name="email"></td>
        </tr>
        <tr>
            <td>电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话:</td>
            <td><input type="tel" name="phone"></td>
        </tr>
        <tr>
            <td><input type="submit" value="添加"></td>
        </tr>
    </table>
    <input type="text" name="source" hidden="hidden" value="admin">
</form>
<div style="color: red">${err}</div>
</body>
</html>
